package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 个人复检申请记录表
 * </p>
 *
 * @author Huazige
 * @since 2022-06-02
 */
@Getter
@Setter
@TableName("ti_person_review")
@ApiModel(value = "PersonReview对象", description = "个人复检申请记录表")
public class PersonReview implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("个人复检申请记录表主键")
    @TableId(value = "person_review_id", type = IdType.ASSIGN_ID)
    private String personReviewId;

    @ApiModelProperty("兵役信息编号")
    private String bingyiInfoId;

    @ApiModelProperty("申请理由")
    private String applyReason;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("是否同意复检")
    private String isAggre;

    @ApiModelProperty("审核人")
    private String auditor;

    @ApiModelProperty("应征人员编号")
    private String bingyiId;

    @ApiModelProperty("是否提交审核")
    private String isAudit;

    @ApiModelProperty("申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTime;

    @ApiModelProperty("不合格项")
    private String failedName;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("体检状态")
    private String medicalCondition;

    @ApiModelProperty("是否通过")
    private String isPass;

    @ApiModelProperty("流程是否结束")
    private String isComplete;

    @ApiModelProperty("批次编号")
    private String batchId;

    @ApiModelProperty("体检编号")
    private String examineId;

    @ApiModelProperty("家庭编号")
    private String familyId;

    @ApiModelProperty("申请附件")
    private String applyUrl;
    @ApiModelProperty("个人确认状态")
    private String  status;
}
